import styled from 'styled-components'

export let CartListStyled = styled.div`
    width:100%;
    box-sizing:border-box;
    padding:0 0.1rem;
    h1{
        text-align:center;
        height:0.17rem;
        padding:0.1rem 0;
        font-size:0.13rem;
    }
    div{
        display:flex;
        flex-wrap:wrap;
        justify-content:space-between;
        div{
            width:100%;
            margin-top:0.3rem;
        }
        dl{
            width:1.73rem;
            background-color:#fFf;
            border-radius:0.05rem;
            margin-bottom:0.12rem;
            dd{
                width:1.73rem;
                height:1.7rem;
                border-radius:0.03rem;
                overflow:hidden;
                img{
                    width:100%;
                    height:100%;
                }
            }
            dt{
                box-sizing:border-box;
                padding:0 0.08rem 0.1rem;
                p{
                    font-size:0.14rem;
                    font-weight:700;
                    height: 0.4rem;
                    word-break: break-all;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    margin-top:0.08rem;
                }
                h2{
                    color:#ff3732;
                    font-size:0.12rem;
                    margin:0.09rem 0 0.1rem;
                    span{
                        font-size:0.16rem;
                    }
                }
                h3{
                    display:flex;
                    justify-content:space-between;
                    align-items:center;
                    span{
                        font-size:0.12rem;
                        background:#ff4336;
                        padding:0 0.05rem;
                        border-radius:0.12rem;
                        color:#fFf;
                    }
                    b{
                        font-size:0.12rem;
                        color:#999;
                    }
                }
            }
        }
    }
`